/* navbar css  */
.navbar{
    background-color: #1abc9c;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: normal;
    color: #000;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: #fff;
  }
  
  .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
    margin: 5px auto 0; /* Add spacing for the line */
  }
  
  .nav-link:hover::after {
    width: 100%;
  }

  .navbar{
    background-color: #1abc9c;
}
/* footer */

/* Footer Styling */
footer {
  background-color: #1abc9c; /* Dark background */
  color: #000000;
  padding: 40px 0;
  font-family: 'Arial', sans-serif;
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.footer-logo {
  flex:500px; /* Set a fixed width for the logo */
  text-align: left;
}


/* Logo and slogan animation */
.footer-logo {
  text-align: left;
  animation: slideInFromLeft 3s ease-out; /* Animation for logo */
}

.footer-logo h2 {
  font-size: 24px;
  margin: 0;
}

.footer-logo p {
  font-size: 14px;
  margin-top: 5px;
  color: black;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  margin-left: 40px;
}

.footer-column {
  margin: 0 20px;
  animation: fadeIn 2.5s ease-in; /* Animation for footer columns */
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease; /* Smooth hover transition */
}

.footer-column ul li a:hover {
  color: #ffff;
  text-decoration: underline;
}

/* Social Media Icons with hover animation */
.footer-social {
  text-align: center;
  margin-bottom: 20px;
  animation: bounceIn 3s ease-out; /* Animation for social icons */
}

.footer-social ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

.footer-social ul li {
  margin: 0 10px;
}

.footer-social ul li a {
  color: white;
  font-size: 30px;
  text-decoration: none;
  transition: transform 0.3s ease; /* Transition for hover effect */
}

.footer-social ul li a:hover {
  color: #000000;
  transform: scale(1.2); /* Enlarge icons on hover */
}

/* Bottom Copyright Section */
.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: #000000;
}

/* Animation Keyframes */
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Design */

/* For screens less than or equal to 768px */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    margin-left: 0;
  }

  .footer-column {
    margin-bottom: 20px;
    text-align: center;
  }

  .footer-logo {
    text-align: center;
    margin-bottom: 20px;
  }
}

/* For screens less than or equal to 480px */
@media (max-width: 480px) {
  .footer-logo h2 {
    font-size: 20px;
  }

  .footer-column ul li a {
    font-size: 12px;
  }

  .footer-social ul {
    flex-direction: column;
  }

  .footer-social ul li {
    margin-bottom: 10px;
  }
}

/* buttons color changer css */

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 15px;
  text-transform: uppercase;
  color: #000;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffff;
}

.nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #ffff;
  transition: width 0.3s ease;
  margin: 5px auto 0; /* Add spacing for the line */
}

.nav-link:hover::after {
  width: 100%;
}

/* CSS for active button */
.active {
    background-color: dimgray; /* Change button color to blue when clicked */
    color:white;
}

.nav-button {
    padding: 15px; /* Add padding for button appearance */
    border-radius: 5px; /* Rounded corners */
}
.nav1{
  list-style-type: none;
}
  
/* sidebar toggle menu */

.sidebar-toggle-btn {
  display: block; /* Show the button on all screen sizes */
  margin-bottom: 10px; /* Add some spacing */
}

.sidebar {
  background: #f8f9fa; /* Sidebar background */
  padding: 15px; /* Padding for sidebar */
}

/* Scroll to top button style */
#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  display: none; /* Initially hidden */
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 20%;
  padding: 15px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Soft shadow */
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#scrollToTopBtn i {
  font-size: 20px;
  transition: transform 0.3s ease; /* Smooth icon animation */
}

#scrollToTopBtn:hover {
  background-color: #0056b3;
  transform: translateY(-5px); /* Lift on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Increased shadow on hover */
}

#scrollToTopBtn:active {
  transform: translateY(-2px); /* Slight press-down effect */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* Softer shadow on click */
}

#scrollToTopBtn i:hover {
  transform: rotate(360deg); /* Smooth 360-degree rotation on hover */
}

/* sidebar hide css    */

@media (max-width: 768px) {
  #sidebarMenu {
    display: none !important;
  }
}

.nav-button.active {
  background-color: dimgray;
  color: white;
}

footer {
  background-image: url('858748.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  color: white;
}


/* CSS to handle sidebar visibility */
@media (min-width: 768px) {
  /* Hide toggle button on larger screens */
  .sidebar-toggle-btn {
    display: none;
  }
  
  /* Always show sidebar on larger screens */
  #sidebarMenu {
    display: block !important;
  }
}

@media (max-width: 767px) {
  /* Hide sidebar by default on small screens */
  #sidebarMenu {
    display: none !important;
  }
  
  /* Show sidebar when expanded on small screens */
  #sidebarMenu.show {
    display: block !important;
  }
}